package com.xju.entity;

public class Class {
    private Integer classId;
    private String className;
    private Integer majorId;
    private Integer studentCount;
    
    // Getters and Setters
    public Integer getClassId() {
        return classId;
    }
    
    public void setClassId(Integer classId) {
        this.classId = classId;
    }
    
    public String getClassName() {
        return className;
    }
    
    public void setClassName(String className) {
        this.className = className;
    }
    
    public Integer getMajorId() {
        return majorId;
    }
    
    public void setMajorId(Integer majorId) {
        this.majorId = majorId;
    }
    
    public Integer getStudentCount() {
        return studentCount;
    }
    
    public void setStudentCount(Integer studentCount) {
        this.studentCount = studentCount;
    }
    
    @Override
    public String toString() {
        return "Class{" +
                "classId=" + classId +
                ", className='" + className + '\'' +
                ", majorId=" + majorId +
                ", studentCount=" + studentCount +
                '}';
    }
}
